<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>
<body>

    <input type="text" name="" id="">
    <textarea name="" id=""></textarea>
    <script>
        const input=document.querySelector("input");
        // input.addEventListener("focus",function(){
        //     console.log("hahahahaha");
        // })
        // input.addEventListener("blur",function(){
        // console.log("xiziziziiz");
        // })
        input.addEventListener("keydown",function(e){
            
        })
    </script>
</body>
</html>